package com.das.mechanic_base.bean.task;

import android.os.Parcel;
import android.os.Parcelable;

public class AloneShareParamsBean implements Parcelable {
    public String type;
    public String reportUrl;
    public String carNum;
    public String workBaseId;
    public long id  ;

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.type);
        dest.writeString(this.reportUrl);
        dest.writeString(this.carNum);
        dest.writeString(this.workBaseId);
        dest.writeLong(this.id);
    }

    public void readFromParcel(Parcel source) {
        this.type = source.readString();
        this.reportUrl = source.readString();
        this.carNum = source.readString();
        this.workBaseId = source.readString();
        this.id = source.readLong();
    }

    public AloneShareParamsBean() {
    }

    protected AloneShareParamsBean(Parcel in) {
        this.type = in.readString();
        this.reportUrl = in.readString();
        this.carNum = in.readString();
        this.workBaseId = in.readString();
        this.id = in.readLong();
    }

    public static final Creator<AloneShareParamsBean> CREATOR = new Creator<AloneShareParamsBean>() {
        @Override
        public AloneShareParamsBean createFromParcel(Parcel source) {
            return new AloneShareParamsBean(source);
        }

        @Override
        public AloneShareParamsBean[] newArray(int size) {
            return new AloneShareParamsBean[size];
        }
    };
}
